package org.hxyjs.service;


import org.hxyjs.dto.DTO;
import org.hxyjs.entity.Advertisers;
import org.hxyjs.entity.Advertisers;
import org.hxyjs.page.PageInfo;

public interface AdvertisersService {
    /**
     * 查询全部管理员
     * @return
     */
    public DTO<Advertisers> getAllAdvertiserss() throws Exception;
    /**
     * 删除管理员
     * @return
     */
    public DTO<Advertisers> deleteAdvertisersByAdno(String adno) throws Exception;
    /**
     * 修改管理员
     * @return
     */
    public DTO<Advertisers> updateAdvertisersByAdno(Advertisers advertisers) throws Exception;
    /**
     * 增加管理员
     * @return
     */
    public DTO<Advertisers> addAdvertisers(Advertisers advertisers) throws Exception;
    /**
     * 分页查询广告商
     * @return
     */
    public DTO<Advertisers> getAdvertisersByPage(PageInfo pageInfo) throws Exception;
}
